package org.byqh.dqeai.entity;

import com.easy.query.core.annotation.Column;
import com.easy.query.core.annotation.EntityFileProxy;
import com.easy.query.core.annotation.Table;
import com.easy.query.core.proxy.ProxyEntityAvailable;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.byqh.dqeai.entity.proxy.SoftSystemProxy;

import java.math.BigDecimal;

/**
 * 软件体系信息表 实体类。
 *
 * @author easy-query-plugin automatic generation
 * @since 1.0
 */
@Data
@Schema(name = "SoftSystem", description = "软件体系信息表")
@Table(value = "SOFT_SYSTEM")
@EntityFileProxy
public class SoftSystem implements ProxyEntityAvailable<SoftSystem, SoftSystemProxy> {

    /**
     * 体系ID
     */
    @Schema(description = "体系ID", requiredMode = Schema.RequiredMode.REQUIRED)
    @Column(primaryKey = true, value = "SYSTEM_ID")
    private String systemId;

    /**
     * 体系名称
     */
    @Schema(description = "体系名称")
    @Column(value = "SYSTEM_NAME")
    private String systemName;

    /**
     * 序号
     */
    @Schema(description = "序号")
    @Column(value = "SYSTEM_SEQ")
    private BigDecimal systemSeq;

    /**
     * 用户页布局, 使用wpf的grid语法, 行定义和列定义用|分割(数字)代表固定值, (*)和(数字*)代表比例和填充, Auto代表自适应,下边例子中,行高度是[自动,2倍填充, 30],列宽度是[100, 1倍填充, 自动]Auto 2* 30 | 100 * Auto
     */
    @Schema(description = "用户页布局, 使用wpf的grid语法, 行定义和列定义用|分割(数字)代表固定值, (*)和(数字*)代表比例和填充, Auto代表自适应,下边例子中,行高度是[自动,2倍填充, 30],列宽度是[100, 1倍填充, 自动]Auto 2* 30 | 100 * Auto")
    @Column(value = "USER_PAGE")
    private String userPage;

    /**
     * 关联的子系统ID
     */
    @Schema(description = "关联的子系统ID")
    @Column(value = "APP_ID")
    private String appId;
}
